#include <stdio.h>

int main(int argc, char const *argv[])
{
    int a = 2, b = 0;
    float c = 4.4, d = 3.3;
    b = (int)(a + c + d); //显示强转
    printf("b=%d\n", b);
    b = a + c + d; //隐式强转
    printf("b=%d\n", b);
    return 0;
}
